#
# Be sure to run `pod lib lint RFKit.podspec' to ensure this is a
# valid spec before submitting.
#
# Any lines starting with a # are optional, but their use is encouraged
# To learn more about a Podspec see https://guides.cocoapods.org/syntax/podspec.html
#

Pod::Spec.new do |s|
  s.name             = 'JLMKit'
  s.version          = '0.1.2'
  s.summary          = 'A short description of JLMKit.'

# This description is used to generate tags and improve search results.
#   * Think: What does it do? Why did you write it? What is the focus?
#   * Try to keep it short, snappy and to the point.
#   * Write the description between the DESC delimiters below.
#   * Finally, don't worry about the indent, CocoaPods strips it!

  s.description      = <<-DESC
TODO: Add long description of the pod here.
                       DESC

  s.homepage         = 'https://gitee.com/roffa/RFKit'
  # s.screenshots     = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2'
  s.license          = { :type => 'MIT', :file => 'LICENSE' }
  s.author           = { 'zrf' => 'roffa@qq.com' }
  s.source           = { :git => 'https://gitee.com/roffa/RFKit.git', :tag => s.version.to_s }
  # s.social_media_url = 'https://twitter.com/<TWITTER_USERNAME>'
  s.ios.deployment_target = '11.0'

#  s.source_files = 'RFKit/Classes/**/*'
  s.resources = ['RFKit/Assets/*.{xcassets}', 'RFKit/Assets/*.{xib}']  #与主工程使用同一个命名空间，使用资源时避免命名冲突
  s.static_framework = true
#  网络组件
   s.subspec 'Net' do |net|
       net.source_files = 'RFKit/Classes/Net/**/*'
       net.dependency 'LeanCloud/Foundation', '~> 17.10.1'   # /LeanCloud备份数据，里面设置的内容都设置为不需登录 .Foundation数据存储、短信、推送、云引擎等基础服务模块，必选  /RTM即时通讯、LiveQuery 模块，可选 #Baas SDK  https://leancloud.cn/docs/sdk_setup-swift.html#hash1620893804
       net.dependency 'BmobSDK', '~> 2.4.1'     #Baas  主要存储数据的平台 SDK  http://doc.bmob.cn/data/ios/swift_quick_start/, 由于第三方公司未组件化,Modules中存在明显错误，使用Swift直接调用BmobSDK会失败，进入BmobSDK.framework/Modules/module.modulemap中将xx.h改为Bmob.h
       net.dependency 'LSBase'
       net.dependency 'LSTools'
   end

  s.subspec 'InternationalCompLib' do |net|
      net.source_files = 'RFKit/Classes/InternationalCompLib/**/*'
  end
  

   s.subspec 'ThemeColorFont' do |net|
      net.source_files = 'RFKit/Classes/ThemeColorFont/**/*'
      net.dependency 'UIColor_Hex_Swift'
      net.dependency 'YYKit'
  end


  # s.resource_bundles = {
  #   'RFKit' => ['RFKit/Assets/*.png']
  # }

  # s.public_header_files = 'Pod/Classes/**/*.h'
#  s.frameworks = 'CoreLocation', 'Security', 'CoreGraphics', 'MobileCoreServices', 'CFNetwork', 'CoreTelephony','SystemConfiguration', 'AVFoundation', 'MediaPlayer', 'libz', 'libicucore', 'libsqlite3', 'libc++'
  # s.dependency 'LSTools' # podfile需加入source 'https://gitee.com/roffa/roffa-specs.git'
  # s.dependency 'LSBase'  # podfile需加入source 'https://gitee.com/roffa/roffa-specs.git'
end
